package com.hotel.project.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotel.project.demo.domain.BaseEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface ICurdDao<T extends BaseEntity> extends BaseMapper<T> {
    /**
     * 分页查询
     * @param entity
     * @return
     */
    public List<T> selectByPage(T entity);
}
